window.diceDB = {
  getHistory() {
    return window.utools.dbStorage.getItem('dice-history') || []
  },
  saveHistory(history) {
    window.utools.dbStorage.setItem('dice-history', history)
  },
  clearHistory() {
    window.utools.dbStorage.removeItem('dice-history')
  }
} 